package cn.sise.edu.crm.mapper;

import cn.sise.edu.crm.domain.Permission;
import cn.sise.edu.crm.query.QueryObject;

import java.util.List;

public interface PermissionMapper {
    int deleteByPrimaryKey(Long id);
    int insert(Permission record);
    Permission selectByPrimaryKey(Long id);
    List<Permission> selectAll();
    List<Permission> selectForList(QueryObject qo);

    List<String> selectByEmployeeId(Long id);
}